package com.iotp.service.base;

import org.springframework.stereotype.Component;

/**
 * BaseService Impl
 * @author Assassin
 */
@Component
public class BaseServiceImpl implements BaseService2 {
	
	// Fields

//    /** Activiti Service **/
//    @Autowired
//	protected RepositoryService repositoryService;
//    @Autowired
//	protected RuntimeService runtimeService;
//    @Autowired
//	protected TaskService taskService;
//    @Autowired
//	protected HistoryService historyService;
//    @Autowired
//	protected IdentityService identityService;
//    @Autowired
//    protected FormService formService;
//    @Autowired
//    protected DynamicBpmnService dynamicBpmnService;
//    @Autowired
//    protected ManagementService managementService;

//	@Autowired
//	private LogDAO logDAO;// 系统日志DAO接口

	/**
	 * 添加系统日志
	 * @param orgId 机构Id
	 * @param serviceType 日志类型-业务操作[-1 无 | 0-系统启动 | 1-系统登录]
	 * @param jdbcType 日志类型-数据库操作[-1 无 | 1-insert | 2-delete | 3-update | 4-select | 5-truncate]
	 * @param content 日志内容
	 * @param logTime 日志时间
	 * @param operatorId 操作人Id
	 * @param operatorName 操作人名称
	 */
	@Override
	public void log(Long orgId, Integer serviceType, Integer jdbcType,
			String content, Long logTime, Long operatorId, String operatorName) {
//		Log log = new Log(null, orgId, serviceType, jdbcType, content, logTime, operatorId, operatorName);
//		this.logDAO.insert(log);
	}
	
}